package com.koron.css2.contractmanage.ecBean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * 合同平台签署实体类
 *
 * @author 李文浩
 * @version YH230315
 * @date 2023/4/18 09:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ApiModel(value = "合同平台签署实体类", description = "调用合同平台签署的请求参数")
public class EcContractSignBean {

    @ApiModelProperty("机构编号")
    private String companyId;

    @ApiModelProperty("户号")
    private String customerCode;

    @ApiModelProperty("三方系统名称，如营业、报装、OA系统等")
    private String thirdName;

    @ApiModelProperty("三方系统对应业务的唯一编号")
    private String thirdCode;

    @ApiModelProperty("合同模板编号")
    private String templateCode;

    @ApiModelProperty("填充信息(pdf填充)")
    private Map<String, Object> fillInfos;

    @ApiModelProperty("签署人信息")
    private List<EcSignInfoBean> contractSignatories;

    @ApiModelProperty("附件信息(线下必填)")
    private Map<String, Object> files;

    @ApiModelProperty("签订方式： 0-线上签订 1-线下签订")
    private Integer signMode;
}
